package com.lws.dubboprovider.services;

import com.alibaba.dubbo.config.annotation.Service;
import com.lws.dubboapi.services.DubboProvider;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by lvws on 2016/7/8 0008.
 */
@Service
@Transactional
public class DubboProviderImpl implements DubboProvider {

    public String hello(String name) {
        return "hello";
    }

    public void execute() {
        System.out.println("execute");
    }

}
